package com.qiyue.admin.constant;

/**
 * Created by y747718944 on 2018/2/6
 *  Admin 公共常量类
 */
public class AdminCommonConstant {

    public final static Long ROOT = Long.valueOf(-1);

    public final static int DEFAULT_GROUP_TYPE = 0;//默认组类型
    /**
     * 权限关联类型
     */
    public final static String AUTHORITY_TYPE_GROUP = "group";
    /**
     * 权限资源类型
     */
    public final static String RESOURCE_TYPE_MENU = "menu";
    public final static String RESOURCE_TYPE_BTN = "button";

    public final static Long  RESOURCE_DEFAULT_ROOT_MENU= Long.valueOf(-1);

    public final static Long  RESOURCE_DEFAULT_ROOT_BUTTON= Long.valueOf(-1);

    public final static String RESOURCE_REQUEST_METHOD_GET = "GET";
    public final static String RESOURCE_REQUEST_METHOD_PUT = "PUT";
    public final static String RESOURCE_REQUEST_METHOD_DELETE = "DELETE";
    public final static String RESOURCE_REQUEST_METHOD_POST = "POST";

    public final static String RESOURCE_ACTION_VISIT = "访问";

    public final static String BOOLEAN_NUMBER_FALSE = "0";

    public final static String BOOLEAN_NUMBER_TRUE = "1";





    public static class URL{
        public final static String URI_API="";
    }


}
